package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="AgentPayRecords对象", description="")
public class AgentPayRecords implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    @ApiModelProperty(value = "原订单id")
    private Integer userId;

    @ApiModelProperty(value = "原订单id")
    private Integer orderId;

    @ApiModelProperty(value = "代付订单id")
    private Integer agentOrderId;

    @ApiModelProperty(value = "代付用户的id")
    private Integer agentUserId;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "盲盒是否已开盒")
    private Boolean isOpenBox;

    @ApiModelProperty(value = "代付状态 0为代支付  1为支付中  2为支付成功  3为过期失效")
    private Integer status;

    @ApiModelProperty(value = "代付的支付时间")
    private Date paidAt;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;


}
